home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / c / library / mslang / splash / demo_cpp.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-06-14  |  2.8 KB  |  82 lines

  1. //
  2. //  Copyright (C) 1994 by
  3. //  HITAM Software, St. Louis, MO, USA
  4. //  All Rights Reserved.
  5. //
  6. //  This software is furnished under a license and may be used and copied
  7. //  only in accordance of the terms of such license and with the
  8. //  inclusion of the above copyright notice. This software or any other
  9. //  copies thereof may not be provided or otherwise made available to any
  10. //  other person. No title to and ownership of the software is hereby
  11. //  transferred.
  12. //
  13. //  The information in this software is subject to change without notice
  14. //  and should not be construed as a commitment by HITAM Software
  15. //
  16. //  HITAM Software assumes no responsibility for
  17. //  the use or reliability of its software on equipment which is not
  18. //  supplied by HITAM Software
  19. //
  20. //  FACILITY: DEMO_CPP
  21. //
  22. //  ABSTRACT:
  23. //
  24. //     These files comprise the C++ demonstration program for showing the              
  25. //     capabilities of the SPLASH Libraries. Code is Microsoft C++ built               
  26. //     using the Microsoft Foundation Class Library V2.5 with Microsoft                
  27. //     Visual C++ V1.5. Code is compatible in 16 bit Windows and 32 bit                
  28. //     Windows.                                                                        
  29. //                                                                                     
  30. //     Dependancies:                                                                   
  31. //                   SPLASHxx.LIB   Import Library for Windows                         
  32. //                   SPLASHxx.DLL   Run-Time Library for Windows                       
  33. //                   SPLASH.H       SPLASH Libraries Header File                       
  34. //                   RESOURCE.H     Application Constants                              
  35. //                   DEMO_CPP.DEF   Module Definition File                             
  36. //
  37. //  AUTHOR(S): Todd Osborne (HITAM Software)
  38. //
  39. //  CREATED: 06/15/94
  40. //
  41. //  MODIFICATION HISTORY:
  42. //
  43. //  Version Date        By      Reason
  44. //
  45.  
  46. #define App    (*(CTheApp*)AfxGetApp())
  47.  
  48. class CTheApp : public CWinApp
  49. {
  50. public:
  51.     virtual BOOL     InitInstance();
  52. };
  53.  
  54. class CMainDlgWindow : public CDialog
  55. {
  56. private:
  57.     void    KillTime(int nHowLong);
  58.     
  59. public:
  60.     CMainDlgWindow();
  61.     
  62. // Dialog Data
  63.     //{{AFX_DATA(CMainDlgWindow)
  64.     enum { IDD = IDD_MAIN };
  65.     CString    m_strSplashFileName;
  66.     int        m_nHowLong;
  67.     int        m_nWhichDLL;
  68.     //}}AFX_DATA
  69.  
  70. protected:
  71.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  72.     // Generated message map functions
  73.     //{{AFX_MSG(CMainDlgWindow)
  74.     afx_msg void OnClose();
  75.     virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);
  76.     virtual void OnCancel();
  77.     virtual BOOL OnInitDialog();
  78.     virtual void PostNcDestroy();
  79.     //}}AFX_MSG
  80.     DECLARE_MESSAGE_MAP()
  81. };
  82.